package com.scsj.supermarket.base;

import com.scsj.supermarket.bean.BaseBean;
import com.scsj.supermarket.bean.GetOwnTreasureInfoBean;
import com.scsj.supermarket.bean.SelectUserHasBindBankCardBean;

import dkmvp.net.ResponseCallback;
import okhttp3.RequestBody;
import rx.Subscription;

/**
 * 查询用户已绑定的银行卡BASE
 * 买家版钱包界面查询 查询余额和费率
 * 申请提现（新）
 */

public class MyWalletBase {

    public interface IView {

        /**
         * 买家版钱包界面查询 查询余额和费率
         */
        void vGetOwnTreasureInfoSuccessMsg(String s, GetOwnTreasureInfoBean bean);

        void showErrorMsg(String s);
    }

    public interface IPresenter {

        /**
         * 买家版钱包界面查询 查询余额和费率
         */
        void deliverGetOwnTreasureInfoData(RequestBody requestBody);

    }

    public interface IModel {

        /**
         * 买家版钱包界面查询 查询余额和费率
         */
        Subscription mGetOwnTreasureInfoData(RequestBody requestBody, ResponseCallback<GetOwnTreasureInfoBean> callback);

    }

}
